package com.qf.service.impl;

import com.qf.dao.DeptMapper;
import com.qf.pojo.Bumenguanli;
import com.qf.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 2019/11/20 0020
 * Author->DT
 * qmxc
 * 行到水穷处 坐看云起时
 * 模块：部门Service实现
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;
    //查询所有部门
    @Override
    public List<Bumenguanli> findAll() {
        List<Bumenguanli> deptList = deptMapper.findAll();
        return deptList;
    }
}
